package com.estate.mapper;

import com.estate.pojo.State;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface StateMapper {
	
    int deleteByPrimaryKey(Integer staId);

    int insert(State record);

    int insertSelective(State record);
    
    State selectByPrimaryKey(Integer staId);

    int updateByPrimaryKeySelective(State record);

    int updateByPrimaryKey(State record);
    
    List<State> allState() throws Exception;
}